package DBLayer;

import java.util.ArrayList;

import ModelLayer.Customer;

public interface IFDBCustomer {
    // get all Customers
    public ArrayList<Customer> getAllCustomers(boolean retriveAssociation);
    //get one Customer having the customerID
    public Customer findCustomer(int customerID, boolean retriveAssociation);
    //find one Customer having the name
    public Customer searchCustomerName( String name, boolean retriveAssociation);
    
    //public Customer searchCustomerName( String Name, boolean retriveAssociation);
    
    //insert a new Customer
    public void insertCustomer(Customer cu) throws Exception;
    //update information about an Customer
    public int Customer(Customer cus);
    
	public Customer searchCustomerID(int customerID, boolean b);
	
	public int updateCustomer(Customer cus);
	
	public int delete(String customerID);
    
}